package com.house.model;

public class Photo {
    private Integer id;

    private String title;

    private String filename;

    private Integer hourseid;

    public Photo(Integer id, String title, String filename, Integer hourseid) {
        this.id = id;
        this.title = title;
        this.filename = filename;
        this.hourseid = hourseid;
    }

    public Photo() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename == null ? null : filename.trim();
    }

    public Integer getHourseid() {
        return hourseid;
    }

    public void setHourseid(Integer hourseid) {
        this.hourseid = hourseid;
    }
}